  <template>
  <div class="about">
    <div>IM聊天室</div>
    <div>
      <li>
        <span>撒大大说</span>
      </li>
    </div>
    <div>
      <input type="text" v-model="msg" placeholder="请输入" />
      <button @click="sendClick">发送</button>
    </div>
  </div>
</template>
<script>
export default {
  name: "socket",
  data() {
    return {
      msg: "",
    };
  },
//   sockets: {
//     connect: function () {
//       console.log("socket connected");
//     },
//     customEmit: function (data) {
//       console.log(
//         'this method was fired by the socket server. eg: io.emit("customEmit", data)'
//       );
//     },
//   },
  methods: {
    sendClick() {},
  },
  mounted() {},
  components: {},
};
</script>
<style lang='scss' scoped>
</style>